//
//  HLLabelsView.h
//  RunLoopDemo
//
//  Created by Zhl on 2017/9/12.
//  Copyright © 2017年 LearningRoad. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "HLTextModel.h"
#define Hspace 5                //标签水平间距
#define Vspace 5                //标签垂直间距
#define LeftAndRightEdge 5      //标签相对view自身左右边距
#define UpAndDownEdge 5         //标签相对view自身上下边距
#define TextLeftAndRightEdge 5  //标签中text和矩形框的左右边距
#define TextUpAndDownEdge 2     //标签中text和矩形框的上下边距
#define TextRectCornerRadius 4  //标签矩形的圆角大小
@interface HLLabelsView : UIView
+ (CGFloat)getLabelsViewHeightWithTextModelArr:(NSArray *)textArr andWidth:(CGFloat)width;
+ (instancetype)hlLabelsViewWithFrame:(CGRect)frame andTextModels:(NSArray*)models;
- (instancetype)initWithFrame:(CGRect)frame andTextModels:(NSArray*)models;
@end
